import 'package:flutter_base/export.dart';

/// Create： Zhang 2021/6/28 2:02 下午
/// erp:     ext.zhangjunfei
/// 描述：选择照片的pageModel
///
class TakePicPageModel extends PageModel {
  ///选择的照片路径
  String? selectPicUri;

  ///选择的视频路径
  String? selectVideoUri;

  ///视频播放控制器
  VideoPlayerController? videoController;

  ///设置照片路径,并通知页面刷新
  void setPicUri(String picUri) {
    selectPicUri = picUri;
    notify();
  }
}
